using System.ComponentModel.DataAnnotations;

namespace BW.Demo.Domain.Entities
{
    /// <summary>
    /// 溯源管理详情-养殖保健信息
    /// </summary>
    public class Health
    {
        /// <summary>
        /// 免疫信息主键ID
        /// </summary>
        [Key]
        public int HealthId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        [MaxLength(50)]
        public string Batch { get; set; } = string.Empty;

        /// <summary>
        /// 饲养天数
        /// </summary>
        public int Feedays { get; set; }

        /// <summary>
        /// 保健方式
        /// </summary>
        [MaxLength(30)]
        public string HealthType { get; set; } = string.Empty;

        /// <summary>
        /// 保健方法
        /// </summary>
        [MaxLength(30)]
        public string HealthIdea { get; set; } = string.Empty;

        /// <summary>
        /// 是否删除
        /// </summary>
        public int LogincalDel { get; set; }
    }
}
